package model;

import java.sql.Date;


public abstract class Transaction{
	
	protected double	amount;
	protected String	senderAccount, receiverAccount;
	protected Date	date;
	protected String	description;
	
	
	public Transaction( double amount, String senderAccount, String receiverAccount, Date date, String description ) {
		this.amount = amount;
		this.senderAccount = senderAccount;
		this.receiverAccount = receiverAccount;
		this.date = date;
		this.description = description;
	}
	
	
	public double getAmount() {
		return amount;
	}
	
	
	public String getSenderAccount() {
		return senderAccount;
	}
	
	
	public String getReceiverAccount() {
		return receiverAccount;
	}
	
	
	public Date getDate() {
		return date;
	}
	
	
	public String getDescription() {
		return description;
	}
	
}
